package com.yjd.comm.raffle.service;

import java.util.List;
import java.util.Map;

import com.yjd.comm.base.model.PagerModel;
import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.raffle.model.MyPrizeListModel;
import com.yjd.comm.raffle.model.PrizeListModel;

/**
 * <b>description</b>：投资统计业务接口<br>
 * <b>time</b>：2015-01-18 14:25:17 <br>
 * <b>author</b>：  percy-chen@hotmail.com
 */
public interface IPrizeListService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public PrizeListModel insert(PrizeListModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(PrizeListModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param prize_id
	 * @return
	 * @throws Exception
	 */
	public int delete(Long prize_id) throws Exception;
	
	/**
	 * 
	 * @param paramMap
	 * @return
	 */
	public PagerModel getPrizeAddressList(Map paramMap) throws Exception;
	
	/**
	 * 抽奖列表
	 * @return
	 * @throws Exception
	 */
	public List<MyPrizeListModel> getMyModelList() throws Exception;

}
